package com.fengye.dubbo.common.config;

import com.fengye.dubbo.common.properties.DubboCustomProperties;
import com.fengye.dubbo.common.properties.YmlPropertySourceFactory;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * dubbo 配置类
 */
@Configuration
@EnableConfigurationProperties(DubboCustomProperties.class)
@PropertySource(value = "classpath:common-dubbo.yml", factory = YmlPropertySourceFactory.class)
public class DubboConfiguration {

}
